﻿<%@ Page Title="" Language="C#" MasterPageFile="~/front/MasterPage.master" AutoEventWireup="true" CodeFile="Search.aspx.cs" Inherits="front_Search" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" Runat="Server">
    <div class="container">
        <div class="content">
            <div class="col-md-12 content-left ">
                <div class="article block-center">
                    <h5 class="head">
                        <asp:Label ID="Label1" runat="server"></asp:Label>
                    </h5>
                    <asp:DataList ID="DataList1" runat="server" Width="100%">
                        <ItemTemplate>
                            <div style="position:relative">
                                <h6><%# Eval("source") %> </h6>
                                <span class="pull-right-time"><%# Eval("created_at") %></span>
                            </div>
                            
                            <a class="title" href=<%# "/front/Show.aspx?id="+Eval("id") %>><%# Eval("title") %></a>
                        </ItemTemplate>
                    </asp:DataList>
                    <div style="text-align:right">
                        <asp:Label ID="Current" runat="server" Text="1"></asp:Label>
                        /<asp:Label ID="Total" runat="server" Text="Label"></asp:Label>
                        <div class="btn-group">
                            <asp:Button ID="First" runat="server" Text="第一页" OnClick="lbtnFirst_Click" CssClass="btn btn-default" />
                            <asp:Button ID="Up" runat="server" Text="上一页" OnClick="lbntUp_Click" CssClass="btn btn-default" />
                            <asp:Button ID="Down" runat="server" Text="下一页" OnClick="lbtnDown_Click" CssClass="btn btn-default" />
                            <asp:Button ID="Last" runat="server" Text="最后一页" OnClick="lbtnLast_Click" CssClass="btn btn-default" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="js" Runat="Server">
</asp:Content>

